home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 August: Tool Chest / Dev.CD Aug 95 TC / Dev.CD Aug 95 TC.toast / New System Software Extensions / QuickDraw™ GX 1.1.2 / Programming Stuff / Sample Code / Printing Samples / Printer Drivers… / CustomWriter GX 1.0.3 ƒ / ChooserSupport.a < prev    next >
Encoding:
Text File  |  1995-06-20  |  2.0 KB  |  73 lines  |  [TEXT/MPS ]

  1. ;------------------------------------------------------------------------------
  2. ;
  3. ;    FILENAME
  4. ;        ChooserSupport.a
  5. ;
  6. ;    DESCRIPTION
  7. ;        Contains the code to form the first part of the Chooser 'PACK' for
  8. ;        this driver.
  9. ;
  10. ;    COPYRIGHT
  11. ;        Copyright © 1995 Apple Computer, Inc.
  12. ;        All rights reserved.
  13. ;    
  14. ;    Modification history
  15. ;        06/14/95 - Dave Hersey -    Version 1.0.3 to fix a bug in
  16. ;                                    CustomBufferingAndIO.c when creating
  17. ;                                    high-res PICTs, and to make the size
  18. ;                                    of buffers more flexible.
  19. ;
  20. ;        05/26/95 - Dave Hersey -    Version 1.0.2 to add the new 'outp'
  21. ;                                    desktop printer resource in NewApp.c.
  22. ;
  23. ;        05/03/95 - Dave Hersey -    Version 1.0.1 to fix some minor bugs in
  24. ;                                    CustomBufferingAndIO.c.
  25. ;
  26. ;        01/14/95 - Dave Hersey -    Created from the shell of a hollowed-out
  27. ;                                    ImageWriter driver.
  28. ;
  29. ;------------------------------------------------------------------------------
  30.  
  31.             STRING    ASIS
  32.             CASE    OBJ
  33.  
  34. kAppleTalkDevice        EQU    $80000000
  35. kIsPAPDevice            EQU $40000000
  36. kIsPostScriptDevice        EQU $20000000
  37. kMultiSelect            EQU    $10000000
  38. kLeftButton                EQU    $08000000
  39. kRightButton            EQU    $04000000
  40. kNoSavedZone            EQU $02000000
  41. kActualZoneNames        EQU    $01000000
  42. kNoIntlChars            EQU    $00800000
  43. kEvenUpName                EQU    $00400000
  44. kLengthOnRename            EQU    $00200000
  45. kUsesOnAndOff            EQU    $00100000
  46. kNoSetSelfSend            EQU    $00080000
  47. kUnused18                EQU    $00040000
  48. kAcceptsInit            EQU    $00020000
  49. kAcceptsNewSel            EQU $00010000
  50. kAcceptsFillList        EQU $00008000
  51. kAcceptsGetSel            EQU    $00004000
  52. kAcceptsSelect            EQU $00002000
  53. kAcceptsDeselect        EQU $00001000
  54. kAcceptsTerminate        EQU    $00000800
  55.  
  56.             IMPORT DEVICE            ; our device routine (from ChooserSupport.c)
  57.  
  58. EntryPoint    PROC     EXPORT
  59.             BRA.S    DEVICE            ; branch to our actual code
  60.             DC.W    169                ; device ID
  61.             DC.L    'PACK'            ; device type
  62.             DC.W    $F000            ; master ID for resources (-4096)
  63.             DC.W    2                ; version
  64.             DC.L    kLeftButton+kUsesOnAndOff+kAcceptsInit+kAcceptsTerminate
  65.             
  66. gJob        PROC    EXPORT
  67.             DC.L    0                ; gxJob global
  68.         
  69. gDriverName    PROC    EXPORT
  70.             DS.B    32                ; driver name storage
  71.  
  72.     END
  73.